Integrand size = 26, antiderivative size = 118 \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=-\frac {35 c^4 x}{2 a}-\frac {35 c^4 \cos ^3(e+f x)}{3 a f}-\frac {35 c^4 \cos (e+f x) \sin (e+f x)}{2 a f}-\frac {2 a^3 c^4 \cos ^7(e+f x)}{f (a+a \sin (e+f x))^4}-\frac {14 a c^4 \cos ^5(e+f x)}{f (a+a \sin (e+f x))^2} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {2815, 2759, 2761, 2715, 8} \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=-\frac {2 a^3 c^4 \cos ^7(e+f x)}{f (a \sin (e+f x)+a)^4}-\frac {35 c^4 \cos ^3(e+f x)}{3 a f}-\frac {14 a c^4 \cos ^5(e+f x)}{f (a \sin (e+f x)+a)^2}-\frac {35 c^4 \sin (e+f x) \cos (e+f x)}{2 a f}-\frac {35 c^4 x}{2 a} \]
[In]
[Out]
Rule 8
Rule 2715
Rule 2759
Rule 2761
Rule 2815
Rubi steps \begin{align*} \text {integral}& = \left (a^4 c^4\right ) \int \frac {\cos ^8(e+f x)}{(a+a \sin (e+f x))^5} \, dx \\ & = -\frac {2 a^3 c^4 \cos ^7(e+f x)}{f (a+a \sin (e+f x))^4}-\left (7 a^2 c^4\right ) \int \frac {\cos ^6(e+f x)}{(a+a \sin (e+f x))^3} \, dx \\ & = -\frac {2 a^3 c^4 \cos ^7(e+f x)}{f (a+a \sin (e+f x))^4}-\frac {14 a c^4 \cos ^5(e+f x)}{f (a+a \sin (e+f x))^2}-\left (35 c^4\right ) \int \frac {\cos ^4(e+f x)}{a+a \sin (e+f x)} \, dx \\ & = -\frac {35 c^4 \cos ^3(e+f x)}{3 a f}-\frac {2 a^3 c^4 \cos ^7(e+f x)}{f (a+a \sin (e+f x))^4}-\frac {14 a c^4 \cos ^5(e+f x)}{f (a+a \sin (e+f x))^2}-\frac {\left (35 c^4\right ) \int \cos ^2(e+f x) \, dx}{a} \\ & = -\frac {35 c^4 \cos ^3(e+f x)}{3 a f}-\frac {35 c^4 \cos (e+f x) \sin (e+f x)}{2 a f}-\frac {2 a^3 c^4 \cos ^7(e+f x)}{f (a+a \sin (e+f x))^4}-\frac {14 a c^4 \cos ^5(e+f x)}{f (a+a \sin (e+f x))^2}-\frac {\left (35 c^4\right ) \int 1 \, dx}{2 a} \\ & = -\frac {35 c^4 x}{2 a}-\frac {35 c^4 \cos ^3(e+f x)}{3 a f}-\frac {35 c^4 \cos (e+f x) \sin (e+f x)}{2 a f}-\frac {2 a^3 c^4 \cos ^7(e+f x)}{f (a+a \sin (e+f x))^4}-\frac {14 a c^4 \cos ^5(e+f x)}{f (a+a \sin (e+f x))^2} \\ \end{align*}
Time = 12.83 (sec) , antiderivative size = 175, normalized size of antiderivative = 1.48 \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=-\frac {c^4 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^4 \left (\sin \left (\frac {1}{2} (e+f x)\right ) (-384+210 e+210 f x+141 \cos (e+f x)-\cos (3 (e+f x))-15 \sin (2 (e+f x)))+\cos \left (\frac {1}{2} (e+f x)\right ) (210 e+210 f x+141 \cos (e+f x)-\cos (3 (e+f x))-15 \sin (2 (e+f x)))\right )}{12 a f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^8 (1+\sin (e+f x))} \]
[In]
[Out]
Time = 0.86 (sec) , antiderivative size = 79, normalized size of antiderivative = 0.67
method | result | size |
parallelrisch | \(\frac {c^{4} \left (-420 \cos \left (f x +e \right ) f x +15 \sin \left (3 f x +3 e \right )+\cos \left (4 f x +4 e \right )-140 \cos \left (2 f x +2 e \right )+399 \sin \left (f x +e \right )-664 \cos \left (f x +e \right )-525\right )}{24 a f \cos \left (f x +e \right )}\) | \(79\) |
derivativedivides | \(\frac {2 c^{4} \left (-\frac {\frac {5 \left (\tan ^{5}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}+11 \left (\tan ^{4}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )+24 \left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )-\frac {5 \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{2}+\frac {35}{3}}{\left (1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )^{3}}-\frac {35 \arctan \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}-\frac {16}{\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1}\right )}{f a}\) | \(109\) |
default | \(\frac {2 c^{4} \left (-\frac {\frac {5 \left (\tan ^{5}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}+11 \left (\tan ^{4}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )+24 \left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )-\frac {5 \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{2}+\frac {35}{3}}{\left (1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )^{3}}-\frac {35 \arctan \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}-\frac {16}{\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1}\right )}{f a}\) | \(109\) |
risch | \(-\frac {35 c^{4} x}{2 a}-\frac {47 c^{4} {\mathrm e}^{i \left (f x +e \right )}}{8 f a}-\frac {47 c^{4} {\mathrm e}^{-i \left (f x +e \right )}}{8 f a}-\frac {32 c^{4}}{f a \left ({\mathrm e}^{i \left (f x +e \right )}+i\right )}+\frac {c^{4} \cos \left (3 f x +3 e \right )}{12 f a}+\frac {5 c^{4} \sin \left (2 f x +2 e \right )}{4 f a}\) | \(116\) |
norman | \(\frac {-\frac {257 c^{4} \left (\tan ^{4}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f a}-\frac {155 c^{4} \left (\tan ^{6}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f a}-\frac {37 c^{4} \left (\tan ^{8}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f a}-\frac {27 c^{4} \left (\tan ^{7}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f a}-\frac {35 c^{4} x}{2 a}-\frac {166 c^{4}}{3 f a}-\frac {35 c^{4} x \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{2 a}-\frac {70 c^{4} x \left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{a}-\frac {70 c^{4} x \left (\tan ^{3}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{a}-\frac {105 c^{4} x \left (\tan ^{4}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{a}-\frac {105 c^{4} x \left (\tan ^{5}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{a}-\frac {70 c^{4} x \left (\tan ^{6}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{a}-\frac {70 c^{4} x \left (\tan ^{7}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{a}-\frac {35 c^{4} x \left (\tan ^{8}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2 a}-\frac {35 c^{4} x \left (\tan ^{9}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2 a}-\frac {583 c^{4} \left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{3 f a}-\frac {199 c^{4} \left (\tan ^{3}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{3 f a}-\frac {55 c^{4} \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{3 f a}-\frac {75 c^{4} \left (\tan ^{5}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f a}}{\left (1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )^{4} \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )}\) | \(403\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 156, normalized size of antiderivative = 1.32 \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=\frac {2 \, c^{4} \cos \left (f x + e\right )^{4} - 13 \, c^{4} \cos \left (f x + e\right )^{3} - 105 \, c^{4} f x - 72 \, c^{4} \cos \left (f x + e\right )^{2} - 96 \, c^{4} - 3 \, {\left (35 \, c^{4} f x + 51 \, c^{4}\right )} \cos \left (f x + e\right ) + {\left (2 \, c^{4} \cos \left (f x + e\right )^{3} - 105 \, c^{4} f x + 15 \, c^{4} \cos \left (f x + e\right )^{2} - 57 \, c^{4} \cos \left (f x + e\right ) + 96 \, c^{4}\right )} \sin \left (f x + e\right )}{6 \, {\left (a f \cos \left (f x + e\right ) + a f \sin \left (f x + e\right ) + a f\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 2108 vs. \(2 (112) = 224\).
Time = 3.66 (sec) , antiderivative size = 2108, normalized size of antiderivative = 17.86 \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=\text {Too large to display} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 720 vs. \(2 (112) = 224\).
Time = 0.30 (sec) , antiderivative size = 720, normalized size of antiderivative = 6.10 \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=\text {Too large to display} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 128, normalized size of antiderivative = 1.08 \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=-\frac {\frac {105 \, {\left (f x + e\right )} c^{4}}{a} + \frac {192 \, c^{4}}{a {\left (\tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1\right )}} + \frac {2 \, {\left (15 \, c^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} + 66 \, c^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + 144 \, c^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 15 \, c^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 70 \, c^{4}\right )}}{{\left (\tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 1\right )}^{3} a}}{6 \, f} \]
[In]
[Out]
Time = 10.56 (sec) , antiderivative size = 290, normalized size of antiderivative = 2.46 \[ \int \frac {(c-c \sin (e+f x))^4}{a+a \sin (e+f x)} \, dx=\frac {\frac {35\,c^4\,\left (e+f\,x\right )}{2}+\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )\,\left (\frac {35\,c^4\,\left (e+f\,x\right )}{2}-\frac {c^4\,\left (105\,e+105\,f\,x+110\right )}{6}\right )-\frac {c^4\,\left (105\,e+105\,f\,x+332\right )}{6}+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^6\,\left (\frac {35\,c^4\,\left (e+f\,x\right )}{2}-\frac {c^4\,\left (105\,e+105\,f\,x+222\right )}{6}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^5\,\left (\frac {105\,c^4\,\left (e+f\,x\right )}{2}-\frac {c^4\,\left (315\,e+315\,f\,x+162\right )}{6}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^3\,\left (\frac {105\,c^4\,\left (e+f\,x\right )}{2}-\frac {c^4\,\left (315\,e+315\,f\,x+288\right )}{6}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^4\,\left (\frac {105\,c^4\,\left (e+f\,x\right )}{2}-\frac {c^4\,\left (315\,e+315\,f\,x+708\right )}{6}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2\,\left (\frac {105\,c^4\,\left (e+f\,x\right )}{2}-\frac {c^4\,\left (315\,e+315\,f\,x+834\right )}{6}\right )}{a\,f\,\left (\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )+1\right )\,{\left ({\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2+1\right )}^3}-\frac {35\,c^4\,x}{2\,a} \]
[In]
[Out]